cmake_minimum_required(VERSION 2.8.9)

project(use_ar)

#static lib include & lib
include_directories(../ar_proj/include)
link_directories(../ar_proj/build)
set(PROJECT_LINK_LIBS libadd.a)



#my cpp
file(GLOB SOURCES "src/*.cpp")

add_executable(main ${SOURCES})
target_link_libraries(main ${PROJECT_LINK_LIBS})
